indexOf

(alias) pure function indexOf(value: T): integer

Deprecated

Use 'index_of' instead

Gets the index of the first occurrence of a value in the list, or -1 if not found.

Alias

Alias target

Since

0.9.0

Parameters

value

The value to search for.